body {
    padding: 0px;
    margin: 0px;
}
.game {
    position: relative;
    width: 550px;
    height: 450px;
    font-family: "Arial", sans;
    font-size: 10pt;
    margin: 0px;
    pading: 0px;
}
.game > .statusBar {
    position: absolute;
    top: 420px;
    height: 30px;
    left: 4px;
    right: 4px;
}
.game > .promotionContainer {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-image: url("modal.png");
    background-repeat: repeat;
    z-index: 10;
    margin: 0px;
    padding: 0px;
    display: none;
}
.game > .promotionContainer > .dialog {
    position: absolute;
    left: 100px;
    right: 100px;
    top: 150px;
    height: 192px;
    border: rgb(128,128,128) solid 1px;
    border-radius: 5px;
    padding: 5px;
    background-color: white;
}
.game > .promotionContainer > .dialog > .item {
    cursor: pointer;
    height: 48px;
    line-height: 48px;
    padding-left: 6px;
    vertical-align: middle;
}
.game > .promotionContainer > .dialog > .item > * {
    vertical-align: middle;
}
.game > .promotionContainer > .dialog > .item > .piece {
    display: inline-block;
    width: 42px;
    height: 42px;
    background-repeat: no-repeat;
    background-image: url("pieces42.png");
}
.game > .promotionContainer > .dialog > .item:hover {
    background-color: rgb(240,240,240);
}
.board {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 352px;
    height: 352px;
}
.board > .left-coord {
    position: absolute;
    left: -20px;
    width: 16px;
    text-align: right;
    line-height: 44px;
    vertical-align: middle;
}
.board > .right-coord {
    position: absolute;
    right: -20px;
    width: 16px;
    text-align: left;
    line-height: 44px;
    vertical-align: middle;
}
.board > .top-coord {
    position: absolute;
    top: -30px;
    height: 26px;
    line-height: 26px;
    vertical-align: bottom;
    text-align: center;
}
.board > .bottom-coord {
    position: absolute;
    bottom: -30px;
    height: 26px;
    line-height: 26px;
    vertical-align: top;
    text-align: center;
}
.board > .col1 {
    left: 0px;
    width: 44px;
}
.board > .col2 {
    left: 44px;
    width: 44px;
}
.board > .col3 {
    left: 88px;
    width: 44px;
}
.board > .col4 {
    left: 132px;
    width: 44px;
}
.board > .col5 {
    left: 176px;
    width: 44px;
}
.board > .col6 {
    left: 220px;
    width: 44px;
}
.board > .col7 {
    left: 264px;
    width: 44px;
}
.board > .col8 {
    left: 308px;
    width: 44px;
}
.board > .row8 {
    top: 0px;
    height: 44px;
}
.board > .row7 {
    top: 44px;
    height: 44px;
}
.board > .row6 {
    top: 88px;
    height: 44px;
}
.board > .row5 {
    top: 132px;
    height: 44px;
}
.board > .row4 {
    top: 176px;
    height: 44px;
}
.board > .row3 {
    top: 220px;
    height: 44px;
}
.board > .row2 {
    top: 264px;
    height: 44px;
}
.board > .row1 {
    top: 308px;
    height: 44px;
}
.board > .black.cell {
    background: rgb(120,120,120);
}
.board > .white.cell {
    background: rgb(200,200,200);
}
.board > .cell {
    position: absolute;
}
.cell > .piece {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-repeat: no-repeat;
    background-image: url("pieces42.png");
}
.board > .cell > .selected.piece {
    background-color: rgb(96,96,255);
}
.black.pawn {
    background-position: 1px -41px;
}
.black.knight {
    background-position: -41px -41px;
}
.black.bishop {
    background-position: -83px -41px;
}
.black.rook {
    background-position: -125px -41px;
}
.black.queen {
    background-position: -167px -41px;
}
.black.king {
    background-position: -209px -41px;
}
.white.pawn {
    background-position: 1px 1px;
}
.white.knight {
    background-position: -41px 1px;
}
.white.bishop {
    background-position: -83px 1px;
}
.white.rook {
    background-position: -125px 1px;
}
.white.queen {
    background-position: -167px 1px;
}
.white.king {
    background-position: -209px 1px;
}
.movesWrapper {
    position: absolute;
    left: 400px;
    width: 140px;
    top: 30px;
    height: 344px;
    overflow: auto;
    border-radius: 5px;
    padding: 4px;
    background-color: rgb(240,240,240);
}
.moves {
    border-spacing: 0px;
    padding: 0px;
    padding-left: 3px;
    padding-right: 3px;
}
.moves * {
    font-size: 9pt;
}
.moves .number {
    font-weight: bold;
}
.moves .white {
    color: rgb(96,96,96);
}
.moves .black {
    color: rgb(96,96,96);
}